using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("ChatBubbleFrame")]
	public class ChatBubbleFrame : MonoBehaviour
	{
		public GameObject m_VisualRoot => method_3<GameObject>("m_VisualRoot");

		public GameObject m_MyDecoration => method_3<GameObject>("m_MyDecoration");

		public GameObject m_TheirDecoration => method_3<GameObject>("m_TheirDecoration");

		public UberText m_NameText => method_3<UberText>("m_NameText");

		public UberText m_MessageText => method_3<UberText>("m_MessageText");

		public ChatBubbleFrame(IntPtr address, string className)
			: base(address, className)
		{
		}

		public ChatBubbleFrame(IntPtr address)
			: this(address, "ChatBubbleFrame")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public bool DoesMessageFit()
		{
			return method_11<bool>("DoesMessageFit", Array.Empty<object>());
		}

		public void OnPlayersChanged(BnetPlayerChangelist changelist, object userData)
		{
			method_8("OnPlayersChanged", changelist, userData);
		}

		public void UpdateWhisper()
		{
			method_8("UpdateWhisper");
		}
	}
}
